package com.heking.commonlib;

import android.app.Application;
import android.media.RingtoneManager;

import com.zhoug.common.utils.LogUtils;
import com.zhoug.common.utils.NotificationHelper;

/**
 * @Author 35574
 * @Date 2020/7/9
 * @Description
 */
public class App extends Application {

    @Override
    public void onCreate() {
        super.onCreate();
        LogUtils.setDebug(true);
        NotificationHelper instance = NotificationHelper.getInstance();
        instance.initDefaultChannel();
        instance.initChannel("1",getPackageName()+"_1",false,
                true,true, RingtoneManager.getDefaultUri(RingtoneManager.TYPE_ALARM))
        ;
    }
}
